package com.rm.zeyou.mapper;

import com.rm.zeyou.entity.MiddleRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 号码绑定关系表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-04-08 11:33:23
 */
@Mapper
public interface MiddleRelationMapper extends BaseMapper<MiddleRelation> {

    @Delete("delete from t_middle_relation where id = #{id}")
    Integer deleteMidRelation(@Param("id") Long id);
}
